package com.tjp.eight.ui.fragment.mydynamic;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.tjp.eight.R;

/**
 * Created by Administrator on 2017/2/28.
 */
public class DynamicTypeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>{
    Context context;
    public DynamicTypeAdapter(Context context){
        this.context = context;
    }
    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View itemView = LayoutInflater.from(context).inflate(R.layout.item_my_page_action, parent, false);
        return new DynamicTypeViewHolder(itemView);
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return 10;
    }
    class DynamicTypeViewHolder extends RecyclerView.ViewHolder{
        public DynamicTypeViewHolder(View itemView) {
            super(itemView);
        }
    }
}
